Skip to main content

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6681))

Abstract

For a set of n disjoint line segments S in R 2, the visibility counting problem (VCP) is to preprocess S such that the number of visible segments in S from a query point p can be computed quickly. For this configuration, the visibility testing problem (VTP) is to test whether p sees a fixed segment s. These problems can be solved in logarithmic query time by using O(n 4) preprocessing time and space. In this paper, we approximately solve this problem using quadratic preprocessing time and space. Our methods are superior to current approximation algorithms in terms of both approximation factor and preprocessing cost. In this paper, we propose a 2-approximation algorithm for the VCP using at most quadratic preprocessing time and space. The query time of this method is \(O_{\varepsilon}(n^{2}/\sqrt{k})\) where k is the preprocessing time and O ε (f(n) ) = O(f(n)n ε). We also solve the VTP in expected logarithmic query time using quadratic time and space.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Agarwal, P.K., Erickson, J.: Geometric range searching and its relatives. In: Chazelle, B., Goodman, J.E., Pollack, R. (eds.) Advances in Discrete and Compu- tational Geometry, Contemporary Mathematics, vol. 223, pp. 1–56. American Mathematical Society Press, Providence (1999)

    Chapter  Google Scholar 

  2. Aronov, B., Guibas, L.J., Teichmann, M., Zhang, L.: Visibility queries and maintenance in simple polygons. Discrete and Computational Geometry 27, 461–483 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  3. Asano, T.: An efficient algorithm for finding the visibility polygon for a polygonal region with holes. IEICE Transactions, 557–589 (1985)

    Google Scholar 

  4. Bose, P., Lubiw, A., Munro, J.I.: Eficient visibility queries in simple polygons. Computational Geometry Theory and Applications 23(7), 313–335 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  5. Fischer, M., Hilbig, M., Jahn, C., auf der Heide, F.M., Ziegler, M.: Planar visibility counting. CoRR, abs/0810.0052 (2008)

    Google Scholar 

  6. Fischer, M., Hilbig, M., Jahn, C., auf der Heide, F.M, and Ziegler, M.: Planar visibility counting. In: Proceedings of the 25th European Workshop on Computational Geometry(EuroCG 2009), pp. 203–206 (2009)

    Google Scholar 

  7. Ghosh, S.K., Mount, D.: An output sensitive algorithm for computing visibility graphs. SIAM Journal on Computing 20, 888–910 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  8. Ghosh, S.K.: Visibility algorithms in the plane. Cambridge University Press, Cambridge (2007)

    Book  MATH  Google Scholar 

  9. Gudmundsson, J., Morin, P.: Planar visibility: testing and counting. In: Annual Symposium on Computational Geometry, pp. 77–86 (2010)

    Google Scholar 

  10. Matoutsek, J.: Effcient partition trees. Discrete and Computational Geometry 8, 315–334 (1992)

    Article  MathSciNet  Google Scholar 

  11. Pocchiola, M., Vegter, G.: The visibility complex. International Journal of Computational Geometry and Applications 6(3), 279–308 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  12. Suri, S., O’Rourke, J.: Worst-case optimal algorithms for constructing visibility polygons with holes. In: Proceedings of the Second Annual Symposium on Computational Geometry (SCG 1984), pp. 14–23 (1984)

    Google Scholar 

  13. Zarei, A., Ghodsi, M.: Efficient computation of query point visibility in polygons with holes. In: Proceedings of the 21st Annual ACM Symposium on Computational Geometry (SCG 2005) (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Alipour, S., Zarei, A. (2011). Visibility Testing and Counting. In: Atallah, M., Li, XY., Zhu, B. (eds) Frontiers in Algorithmics and Algorithmic Aspects in Information and Management. Lecture Notes in Computer Science, vol 6681. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21204-8_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-21204-8_36

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-21203-1

  • Online ISBN: 978-3-642-21204-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics